#define  _CRT_SECURE_NO_WARNINGS   1
#include "Qpriority.h"

void test()
{
	wwp::Priority<int,vector<int>,wwp::Greater<int>>pd;
	pd.push(1);
	pd.push(2);
	pd.push(3);
	while (!pd.empty())
	{
		cout << pd.top() << ' ';
		pd.pop();
	}
}
int main()
{
	test();
	return 0;
}